package com.gy.smartmanagement.process;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.gy.smartmanagement.R;
import com.gy.smartmanagement.base.fragment.BaseFragment;
import com.gy.smartmanagement.process.processdevice.ProcessDeviceActivity;

import butterknife.BindView;

public class ProcessFragment extends BaseFragment {

  @BindView(R.id.process_device_btn)
  Button process_device_btn;


  public static final String TAG = "ProcessFragment";

  public static ProcessFragment newInstance() {

    Bundle args = new Bundle();

    ProcessFragment fragment = new ProcessFragment();
    fragment.setArguments(args);
    return fragment;
  }

  @Override
  public int getLayoutResId() {
    return R.layout.fragment_process;
  }

  @Override
  public void onUnBind() {

  }

  @Override
  public void initialization() {
    process_device_btn.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View v) {
        startActivity(new Intent(getContext(), ProcessDeviceActivity.class));
      }
    });
  }
}
